<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>right</title>
    <!-- Bootstrap -->
    <link href="${pageContext.request.contextPath}/js/plugin/bootstrap-menu/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/js/plugin/bootstrap-menu/css/font-awesome.min.css">
    <script src="${pageContext.request.contextPath}/js/plugin/bootstrap-menu/js/jquery-1.8.2.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/plugin/bootstrap-menu/js/bootstrap.min.js"></script>
    <script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/js/common.js"></script>
    <script>
        function logout(){
            JSendAjax('<%=request.getContextPath()%>/devops/account/logout')
        }
        function JCollBack(_data){
            if(_data.success){
                window.parent.location = '${pageContext.request.contextPath}/';
                return;
            }
            return alert(_data.data);
        }
    </script>
</head>

<body>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <a class="brand" href="#" style="margin-left: 10px;">Devops(${env})</a>
        <div class="nav-collapse collapse">
            <ul class="nav">
                <li class="">
                    <a href="<%=request.getContextPath()%>/api/url/iframe-main"  target="_parent">首页</a>
                </li>
                <li class="">
                    <a href="<%=request.getContextPath()%>/api/url/link" target="rightFrame" target="_parent">常用地址</a>
                </li>
                <li class="">
                    <a href="<%=request.getContextPath()%>/api/url/template-list" target="rightFrame" target="_parent">模板</a>
                </li>
            </ul>
        </div>
        <ul class="nav navbar-nav navbar-right hidden-sm">
            <li><a href="#" onclick="logout()">退出</a></li>
        </ul>
    </div>
</div>
</body>
</html>
